package model;

import java.util.HashSet;
import java.util.Vector;

public class PlaceSet {

	private final HashSet<Place> places;
	
	public PlaceSet() {
		this.places = new HashSet<Place>();
	}

	public void add(final Place place) {
		this.places.add(place);
	}

	public boolean contains(final Place to) {
		return this.places.contains(to);
	}

	public Vector<Place> getVector() {
		return new Vector<Place>(this.places);
	}
}
